<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@page import="listener.SessionCountListener"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>footer</title>
<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
}
.STYLE1 {
	color: #43860c;
	font-size: 12px;
}
-->
</style>
<%-- 导入添加建议的Window和处理函数定义 --%>
<script type="text/javascript" src="js/inc/footer_add_suggest.js"></script>
</head>

<body>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td height="24" background="images/main/main_47.gif"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="29" height="24"><img src="images/main/main_45.gif" width="29" height="24" /></td>
        <td>
        <table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td width="369">
            	<span class="STYLE1">版本 2009 V1.0 </span>
            	<span style="width: 10px">&nbsp;</span>
            	<span class="STYLE1">在线用户数：
            		<%
            			int onlineCount =  SessionCountListener.getOnlineCount();
            			out.print(onlineCount); 
            		%>
            	</span>
            </td>
            <td class="STYLE1">&nbsp;</td>
            <td width="350" nowrap="nowrap" class="STYLE1">
            	<div align="center">
            		<img src="images/main/main_51.gif" width="12" height="12" /> 
            		如果遇到问题或有好的建议请<a href="javascript: showAddSuggestWin();">点此留言</a>
            		<span>
            			<span>&nbsp;&nbsp;&nbsp;</span>
	            		<img src="images/main/time.png"/> 
	            		<span id="time"></span>
	            		<script type="text/javascript">
	            			//显示当前时间
	            			function getTime() { 
								var now,h,m,s,dn; 
								now = new Date(); 
								h = now.getHours(); 
								dn = "AM"
								if(h>12){
									dn = "PM";
									h = h-12;
								}
								if(h==0) h=12;								
								m =now.getMinutes(); 
								s = now.getSeconds(); 
								if(h<10) h="0"+h; 
								if(m<10) m="0"+m; 
								if(s<10) s="0"+s; 
								document.getElementById("time").innerHTML = h + ":" + m + ":" + s + " "+dn; 
								setTimeout("getTime();", 1000); 
							} 
							getTime(); 
	            		</script>
            		</span>
            	</div>
            	
            </td>
          </tr>
        </table>
        </td>
        <td width="14"><img src="images/main/main_49.gif" width="14" height="24" /></td>
      </tr>
    </table></td>
  </tr>
</table>

	<%-- 公告动画用 --%>	
	<div id="notice-el"></div>
	
</body>
</html>
